<%@ page import="com.onlineOrder.bean.shopList" %><%--
  Created by IntelliJ IDEA.
  User: 12296
  Date: 2022/3/6
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>店铺详情</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" >
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" >
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" ></script>
</head>
<body>
    <%
        shopList shopList =(shopList)request.getAttribute("shopList");
        String register="";
        if (shopList.getRegister().equals("1")){
            register="已注册";
        }else {
            register="待审批";
        }
    %>
<div class="container row=10">
    <table class="table table-striped table-hover">
        <tbody>
            <tr>
                <td>商家账户：</td>
                <td><%=shopList.getShopId()%></td>
                <td></td>
            </tr>
            <tr>
                <td>店铺名称：</td>
                <td><%=shopList.getShopName()%></td>
                <td></td>
            </tr>
            <tr>
                <td>总销售额：</td>
                <td><%=shopList.getSale()%></td>
                <td></td>
            </tr>
            <tr>
                <td>商家密码：</td>
                <td><%=shopList.getPassword()%></td>
                <td></td>
            </tr>
            <tr>
                <td>法人代表：</td>
                <td><%=shopList.getOwner()%></td>
                <td></td>
            </tr>
            <tr>
                <td>联系方式：</td>
                <td><%=shopList.getPhone()%></td>
                <td></td>
            </tr>
            <tr>
                <td>法人信息：</td>
                <td><%=shopList.getMessage()%></td>
                <td></td>
            </tr>
            <tr>
                <td>店铺地址：</td>
                <td><%=shopList.getAddress()%></td>
                <td></td>
            </tr>
            <tr>
                <td>运营状态：</td>
                <td><%=shopList.getState()%></td>
                <td></td>
            </tr>
            <tr>
                <td>注册状态：</td>
                <td><%=register%></td>
                <td></td>
            </tr>
        </tbody>
    </table>
</div>
</body>
</html>
